@import '@/style/common.scss';
.home {
  background-color: $background;
  min-height: 100%;
  padding-bottom: 10px;
  .header {
    color: #fff;
    background: #333 url('~@/assets/img/header.png');
    background-size: cover;
    height: 85px;
    font-size: 24px;
    line-height: 90px;
    padding: 0 41px;
    .logo {
      width: 50px;
      height: 40px;
      vertical-align: middle;
    }
  }
  .main {
    min-width: 1300px;
    .nav {
      height: 85px;
      line-height: 85px;
      display: flex;
      list-style: none;
      color: $darkBlue;
      padding: 0 30px;
      .item {
        cursor: pointer;
        font-size: 20px;
        text-align: center;
        border-radius: 5px 5px 0 0;
        margin-right: 1px;
        max-width: 200px;
        border-bottom: 6px solid transparent;
        img {
          $size: 30px;
          width: $size;
          height: $size;
          vertical-align: sub;
        }
        &:hover, &.active{
          color: $orange;
          border-bottom: 6px solid $orange;
        }
        &.active {
          font-weight: 700;
        }
      }
    }
    .bar {
      height: 60px;
      border-top: $border;
      display: flex;
      justify-content: space-between;
      padding: 10px 25px;
      $height: 40px;
      .title, .tool {
        flex: 1;
        width: 300px;
        height: $height;
        line-height: $height;
        font-size: $titleSize;
        color: $blue;
      }
      .tool {
        flex: 1;
        max-width: 470px;
        height: $height;
        line-height: $height;
        border-radius: 4px;
        border: $border;
        overflow: hidden;
        background: #fff;
        input {
          float: left;
          text-indent: 10px;
          width: 428px;
          height: $height;
          line-height: $height;
          border: 0;
          outline: 0;
        }
        .go {
          float: right;
          width: $height;
          height: $height;
          font-size: 13px;
          line-height: $height;
          text-align: center;
          border-left: $border;
          background: #fff url('~@/assets/img/search.png') no-repeat center;
          background-size: 20px 20px;
          color: #333;
          transition: all .1s;
          cursor: pointer;
          &:active {
            background-color: #eee;
            color: #666;
          }
        }
      }
    }
    .view {
      margin: 0 25px;
      font-size: 14px;
      font-weight: 400;
      position: relative;
      min-height: 824px;
      section {
        display: flex;
        .left {
          flex: 1;
          border: $outBorder;
          position: relative;
          background-color: #fff;
          .listWrap {
            padding-bottom: 40px;
            div.list {
              display: block;
              text-align: center;
              line-height: 400px;
            }
            .list {
              padding: 20px 30px;
              li {
                padding-bottom: 10px;
                border-bottom: $border;
                height: 75px;
              }
              .itmeTitle {
                cursor: pointer;
                font-size: 20px;
                height: 28px;
                overflow: hidden;
                color: $title;
              }
              .itemContent {
                font-size: 16px;
                font-weight: 200;
                line-height: 18px;
                max-height: 30px;
                padding: 14px 0;
                overflow: hidden;
              }
            }
          }
        }
        .right {
          flex: 1;
          max-width: 300px;
          margin-left: 15px;
          .linkWords {
            background-color: #fff;
            min-height: 404px;
          }
          .hotWords {
            background-color: #fff;
            margin-top: 20px;
            min-height: 404px;
          }
        }
      }
    }
  }
}